﻿using DataBaseLib.Entities.BaseEntity;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataBaseLib.Entities
{
    [SugarTable("LocationInfo")]//设置数据库名称，当类库名称和数据库不一致是可以通过别名统一
    public class LocationInfo : BaseModel
    {
        /// <summary>
        /// 名称
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)", ColumnDescription = "名称")]
        public string Name { get; set; }
        /// <summary>
        /// 仓库Id
        /// </summary>
        [SugarColumn(ColumnDescription = "仓库Id")]
        public int WarehouseId { get; set; }
    }
}
